﻿@model MobileSales.Model.Employees.Message

@{
    View.Title = Strings.Messages + " - " + Strings.Read;
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>@Strings.Messages &nbsp;&raquo;&nbsp; @Strings.Read</h2>

<fieldset>
    <legend>@Strings.Fields</legend>

    <div class="display-label">@Strings.From</div>
    <div class="display-field">@Html.EmployeeFullName(Model.SenderId)</div>

    <div class="display-label">@ModelStrings.Subject</div>
    <div class="display-field">@Model.Subject</div>

    <div class="display-label">@ModelStrings.Content</div>
    <div class="display-field">@Model.Content</div>

    <div class="display-label">@Strings.Sent</div>
    <div class="display-field">@String.Format("{0:g}", Model.SendDate)</div>

</fieldset>
<p>
   @Html.ActionLink(Strings.BackToList, "Index", null, new { @class="icon-button prev-icon" })
</p>
